package com.ucar.train.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * store_car_mapping
 * @author 
 */
public class StoreCarMappingDTO implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 门店编号
     */
    private String storeCode;

    /**
     * 车编号
     */
    private String carId;

    /**
     * 租金
     */
    private BigDecimal cost;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date modifyTime;

    private CarDTO carDTO;

    public CarDTO getCarDTO() {
        return carDTO;
    }

    public void setCarDTO(CarDTO carDTO) {
        this.carDTO = carDTO;
    }

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getStoreCode() {
        return storeCode;
    }

    public void setStoreCode(String storeCode) {
        this.storeCode = storeCode;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    @Override
    public String toString() {
        return "StoreCarMappingDTO{" +
                "id=" + id +
                ", storeCode='" + storeCode + '\'' +
                ", carId='" + carId + '\'' +
                ", cost=" + cost +
                ", createTime=" + createTime +
                ", modifyTime=" + modifyTime +
                ", carDTO=" + carDTO +
                '}';
    }
}